package com.nbsaas.boot.data.data.entity;


import com.nbsaas.boot.code.annotation.CatalogClass;
import com.nbsaas.boot.code.annotation.FormAnnotation;
import com.nbsaas.boot.jpa.data.entity.AbstractEntity;
import lombok.Data;
import org.hibernate.annotations.Comment;

import javax.persistence.Entity;
import javax.persistence.Table;

@org.hibernate.annotations.Table(appliesTo = "sys_common_query_snippet", comment = "代码片段")
@Data
@FormAnnotation(title = "代码片段")
@Entity
@Table(name = "sys_common_query_snippet")
public class QuerySnippet extends AbstractEntity {

    @Comment("名称")
    private String name;


    @Comment("具体代码")
    private String note;


}
